Skip to content

feat(transaction-pay-controller): alternate relay deposit types#7947

Merged
matthewwalsh0 merged 4 commits intomainfrom
feat/split-relay-deposit-types
Feb 20, 2026
Merged

feat(transaction-pay-controller): alternate relay deposit types#7947
matthewwalsh0 merged 4 commits intomainfrom
feat/split-relay-deposit-types

Conversation

@matthewwalsh0
Copy link
Member

@matthewwalsh0 matthewwalsh0 commented Feb 17, 2026

Explanation

Replace relayDeposit transaction type with predictRelayDeposit or perpsRelayDeposit based on the parent transaction type (predictDeposit or perpsDeposit). Falls back to relayDeposit for unmapped parent types.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Medium Risk
Changes how Relay deposit transactions are typed (including batched flows), which can affect downstream analytics, UI categorization, and any logic keyed off TransactionType, though behavior is guarded by a fallback and covered by tests.

Overview
Relay submissions in the pay Relay strategy now tag deposit transactions as predictRelayDeposit or perpsRelayDeposit when the parent transaction is predictDeposit or perpsDeposit, instead of always using relayDeposit.

This adds a small mapping (RELAY_DEPOSIT_TYPES) and updates submitRelayQuotes to apply the mapped type for both single transactions and batched (approve+deposit / post-quote) flows, with expanded unit tests and changelog updates in transaction-controller and transaction-pay-controller.

Written by Cursor Bugbot for commit 1eb46cd. This will update automatically on new commits. Configure here.

@matthewwalsh0 matthewwalsh0 changed the title Add alternate relay deposit types feat(transaction-pay-controller): alternate relay deposit types Feb 17, 2026
@matthewwalsh0 matthewwalsh0 force-pushed the feat/split-relay-deposit-types branch from 48e4408 to 9bb4168 Compare February 17, 2026 00:26
@matthewwalsh0 matthewwalsh0 marked this pull request as ready for review February 17, 2026 00:36
@matthewwalsh0 matthewwalsh0 requested review from a team as code owners February 17, 2026 00:36
@matthewwalsh0 matthewwalsh0 added this pull request to the merge queue Feb 20, 2026
Merged via the queue into main with commit b4d4bac Feb 20, 2026
310 checks passed
@matthewwalsh0 matthewwalsh0 deleted the feat/split-relay-deposit-types branch February 20, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments